<template>
  <div id="app">
    <!-- <button @click="clickAuto">ShowLoadingAuto</button> -->
    <keep-alive>
      <router-view class="view-router"></router-view>
      <!-- <router-view class="view-router"  v-if="$route.meta.keepAlive"></router-view> -->
    </keep-alive>
    <!-- <router-view class="view-router" v-if="!$route.meta.keepAlive"></router-view> -->
  </div>
</template>

<script>
export default {
  name: "app",
};
</script>

<style>
html,
body,
#app {
  height: 100%;
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #343434;
  position: relative;
}
</style>
